package com.blog.bean.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.blog.bean.domain.Examine;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author 任浩
 * @version 1.0
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ExamineVo {

    private List<Examine> examineList;

    //做对的正确题目数
    private Integer right;

    //用时时间
    private Integer useTime;

    private List<UserExamineVo> userExamineList;

    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    public static class UserExamineVo {
        private Long examineId;

        private String myAnswer;

        private String rightAnswer;

        private Boolean isRight;

        private Integer useTime;

        private String analysis;
    }

}
